// pages/rap/rap.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    videoList:[
      {
       "id":5,
       "link":"",
       "imgSrc":"https://ae01.alicdn.com/kf/H362ea49d9dfa43a4acc64eef93ab8829V.jpg",
       "desc":"beatiful,姆爷史诗级再现经典",
       "playCount":"99万",
       "commentCount":"1w+"
      },
      {
       "id":6,
       "link":"",
       "imgSrc":"https://ae01.alicdn.com/kf/H1d72ef7a97874f398a5acd627d9e6ce8z.jpg",
       "desc":"loseyourself-精神信仰，God Eminem",
       "playCount":"102万",
       "commentCount":"10w+"
      },
      {
      "id":7,
      "link":"",
      "imgSrc":"https://ae01.alicdn.com/kf/H865153e5ec8d4daf86d5435fe5ddcbb4t.jpg",
      "desc":"Without me,Eminem的嘻哈说唱风格让人焕然。",
      "playCount":"99万",
      "commentCount":"1w+"
      },
      {
       "id":8,
       "link":"",
       "imgSrc":"https://ae01.alicdn.com/kf/Haa3905d750aa4c0b85bb726b4be9b3eck.jpg",
       "desc":"Rainman 雨人，RainmanCc",
       "playCount":"99万",
       "commentCount":"1w+"
       },
       {
         "id":9,
         "link":"",
         "imgSrc":"https://ae01.alicdn.com/kf/Hb2703ba0c4834f28a9e4c24c10f5956bH.jpg",
         "desc":"The monster,格莱美同蕾哈娜再现经典",
         "playCount":"1000万",
         "commentCount":"100w+"
         }
   ]
  },
  getVideoList(){
    this.setData({
      videoList:this.data.videoList
    });
  },
  back: function () {
    wx.reLaunch({
      url: '../index/index'
    })
  },
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
     this.getVideoList();
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})